package org.freeswitch;

import org.freeswitch.swig.freeswitch;

/**
 * 启动类
 *
 *
 * */
public class ApplicationLauncher {

	public static final void startup(String arg) {
		try {
			freeswitch.console_log("notice", "wws->ApplicationLauncher->arg: " + arg);
			freeswitch.setOriginateStateHandler(OriginateStateHandler.getInstance());
		} catch (Exception e) {
			freeswitch.console_log("err", "Error registering originate state handler");
		}
	}

}
